public class Duck implements Swim,Animal {
    @Override
    public void swim() {
        System.out.println("鸭子喜欢游泳");
    }

    @Override
    public void shout() {
        System.out.println("嘎嘎嘎");
    }
//    @Override
//    public void shout() {
//        System.out.println("嘎嘎嘎");
//    }
}
